<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <title>投喂标定</title>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <script src="/statics/js/custom/lib.js?_V=1"></script>
</head>

<body ng-app="">
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <ng-include src="'/admin/common/sidebar.html'"></ng-include>
        <!--End 左侧导航-->
        <!--头部信息-->
        <ng-include src="'/admin/common/header.html'"></ng-include>
        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div class="container-fluid p-t-55">

                <!--添加-->
                <div class="modal fade bs-example-modal-lg" id="commonDiv" tabindex="-1" role="dialog"
                     aria-labelledby="myLargeModalLabel" data-backdrop="static">
                    <div class="modal-dialog modal-lg" role="document">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h6 class="modal-title" id="myModalLabel">添加</h6>
                                <div class="float-right">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                            </div>
                            <div class="modal-body">
                                <form action="" id="commonForm">
                                    <input type="hidden" name="lastModifyTime" value="">
                                    <div class="form-row col-md-12 d-flex">
                                        <div class="form-group col-md-4 mx_validator">
                                            <label for="baitCompanyId">饲料公司</label><span class="required">* </span>
                                            <select class="select-init select-cascade form-control mx_required"
                                                    isDefault="1" defaultOptionText="请选择饲料公司" dataKey="baitCompany" cascadePid="baitCompanyId"
                                                    cascadeId="baitBrandId" cascadeKey="baitBrand" id="baitCompanyId"
                                                    name="baitCompanyId" mx_required_msg="请选择饲料公司" mx_required_type="select"
                                            ></select>
                                        </div>
                                        <div class="form-group col-md-4 mx_validator">
                                            <label for="baitBrandId">饲料品牌</label><span class="required">* </span>
                                            <select class="select-cascade form-control mx_required"
                                                    isDefault="1" defaultOptionText="请选择饲料品牌" cascadePid="baitBrandId"
                                                    cascadeId="baitSizeId" cascadeKey="baitSize" id="baitBrandId"
                                                    name="baitBrandId" mx_required_msg="请选择饲料品牌" mx_required_type="select"
                                            ></select>
                                        </div>
                                        <div class="form-group col-md-4 mx_validator">
                                            <label for="baitBrandId">饲料规格</label><span class="required">* </span>
                                            <select class="form-control mx_required"
                                                    isDefault="1" defaultOptionText="请选择饲料规格" id="baitSizeId"
                                                    name="baitSizeId" mx_required_msg="请选择饲料规格" mx_required_type="select"></select>
                                        </div>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="shortName">标定别名</label>
                                        <input type="text" class="form-control mx_custom" mx_required_msg=""
                                               id="shortName" name="shortName" value="" placeholder="请输入标定别名（可空）"/>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="normalSpeed">低速转速(r/min)</label>
                                        <input type="number" class="form-control mx_custom amount" mx_required_msg=""
                                               id="normalSpeed" name="normalSpeed" placeholder="请输入低速转速">
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="normalSecs">低速标定(s)</label><span class="required">
										(100g所需秒数)</span>
                                        <input type="number" class="form-control mx_custom amount" mx_required_msg=""
                                               id="normalSecs" name="normalSecs" placeholder="请输入低速标定">
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="highSpeed">高速转速(r/min)</label>
                                        <input type="number" class="form-control mx_custom amount" mx_required_msg=""
                                               id="highSpeed" name="highSpeed" placeholder="请输入高速转速">
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="highSecs">高速标定(s)</label><span class="required">
										(100g所需秒数)</span>
                                        <input type="number" class="form-control mx_custom amount" mx_required_msg=""
                                               id="highSecs" name="highSecs" placeholder="请输入高速标定">
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                <button type="button" class="btn btn-primary mx_validator_button" id="submit">保存
                                </button>
                            </div>
                        </div>
                    </div>
                </div>


                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-body pt-0">
                                <header class="card-header pr-0 pl-0">
                                    <div class="card-title">投喂标定</div>
                                </header>
                                <div class="clearfix p-b-10">
                                    <div class="form-inline p-t-10">
                                        <a class="btn btn-primary m-r-10 creates" data-toggle="modal"
                                           data-target="#commonDiv" href="#!"><i class="mdi mdi-plus"></i> 新增</a>
                                    </div>
                                </div>
                                <table id="tableAjaxId">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
        <!--End 页面主要内容-->
    </div>
</div>

<script type="text/javascript" src="/statics/js/apis/system/calibration/company_calibration.js"></script>
<script type="text/javascript" src="/statics/js/apis/system/bait_management.js"></script>
<script type="text/javascript" src="/statics/js/apis/station/station.js"></script>
<script type="text/javascript" src="/statics/js/apis/system/calibration_setting.js"></script>
<script type="text/javascript" src="/statics/js/custom/select.js?_v=1"></script>
<script type="text/javascript" src="/statics/js/custom/selectCascade.js?_v=1"></script>
<script type="text/javascript" src="/statics/js/custom/table.js?_v=1.1"></script>
<script type="text/javascript" src="/statics/js/library/system/calibration/web-socket.js"></script>
<script type="text/javascript" src="/statics/js/library/system/calibration/company_calibration.js"></script>
</body>
</html>
